package com.yjz.springlearn.ioclearn;

public class Card {
  private String cardName;
  private String cardNo;

  public String getCardName() {
    return cardName;
  }

  public void setCardName(String cardName) {
    this.cardName = cardName;
  }

  public String getCardNo() {
    return cardNo;
  }

  public void setCardNo(String cardNo) {
    this.cardNo = cardNo;
  }

  @Override
  public String toString() {
    return "Card{" +
      "cardName='" + cardName + '\'' +
      ", cardNo='" + cardNo + '\'' +
      '}';
  }
}
